/* 
 * file.h
 * File operation test hearder
 */
#ifndef _FILE_OPERATION_
#define _FILE_OPEARTION_

#define  GEN_ERROR          1  /*not any of the following errors*/
#define  INVALID_COMD       2  /*invalid command group; not any of -p -w -d -v -h*/
#define  INVALID_GROUP      3  /*invalid command from A to Z*/
#define  INVALID_PARAMETER  4  /*invalid parameter, wrong, or missing parameters */
#define  CAT_NOT_FOUND      5  /*fail to find the catergory field*/
#define  ITEM_NOT_FOUND     6  /*fail to find the item */
#define  FAIL_TO_SEEK       7  /*fail to move file pointer to the item position*/
#define  FAIL_TO_READ       8  /*fail to read from file*/
#define  FAIL_TO_OPEN       9  /*fail to open file*/

typedef struct _HNavis_PAGE {
  char value[1][3]; 
} Navis_Page, * PNavis_Page;



#endif	/* _FILE_OPERATION_ */